<?php
namespace app\admin\validate;

use think\Validate;

class Withdraw extends Validate
{
    protected $rule = [
    
        'price' => 'require|number',
        'bank' => 'require',
        'number' => 'require',
        'name' => 'require',
    ];
    protected $message = [
        'price.require' => '请输入提现金额',
        'price.number' => '提现金额有误',
        'bank.require' => '请输入开户行',
        'number.require' => '请输入打款账号',
        'name.require' => '请输入开户人姓名',

    ];
    protected $scene = [
        'edit' => [
            'price',
            'bank',
            'number',
            'name',
        ],
    ];
}
